try {

    phantom.injectJs('core.js');

    var suite = new Suite(phantom.args[0]);

    console.log(phantom.args[0]);
    console.log(suite.workingDir);
    console.log(suite.configPath);
    console.log(suite.compiledPath);
    console.log(suite.sourcePath);

    console.log(suite.testRunnerSource);
    console.log(suite.testRunnerCompiled);
    console.log(suite.report);

    console.log(suite.runnerTemplate);
    console.log(suite.coverageTemplate);
    console.log(suite.reportTemplate);

    phantom.exit(0);

} catch (e) {

    console.log('Critical error: ' + JSON.stringify(e));
    phantom.exit(1);

}
